package cn.edu.lzu.dao;

import cn.edu.lzu.entity.PresentHealthCondition;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @PackageName: cn.edu.lzu.dao
 * @InterfaceName: PresentHealthConditionMapper
 * @Description: TODO
 * @Author: 张琦[QQ:3098086691]
 * @Date: 2020/4/19 10:39
 * @Version: 1.0
 */
@Mapper
public interface PresentHealthConditionMapper {
    @Insert("insert into present_health_condition (present_health_condition_id, present_disease_name, present_sick_time, present_in_treatment, present_in_medicine, present_medicine_name, record_time, user_identity, is_deleted) values (default, #{presentDiseaseName}, #{presentSickTime}, #{presentInTreatment}, #{presentInMedicine}, #{presentMedicineName}, #{recordTime}, #{userIdentity}, 0)")
    int insPresentHealthConditionMsg(PresentHealthCondition presentHealthCondition);
}
